package com.difsonapps.contacttranslator.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ContactDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id = 0l;
	private UserDTO user = null;
	private String contactId = "";
	
	private String deviceId = "";
	private String displayName = "";
	private String nickName = "";
	private String photo = "";
	private String companyName = "";
	private String title = "";
	private TypeEnum type;
	
	//getters & setters
	private Date datecreate;
	List<EmailDTO> emailDTOs;
	List<NumberDTO> numberDTOs;
	List<SocialContactDTO> socialContactDTOs;
	
	public ContactDTO() {
		super();
	}


	public ContactDTO(String contactId, String deviceId, String displayName,
			String nickName, String companyName, String title,
			TypeEnum type, UserDTO user) {
		super();
		this.contactId = contactId;
		this.deviceId = deviceId;
		this.displayName = displayName;
		this.nickName = nickName;
		this.companyName = companyName;
		this.title = title;
		this.type = type;
		this.user = user;
	}

	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	
	public UserDTO getUser() {
		return user;
	}
	public void setUser(UserDTO user) {
		this.user = user;
	}

	public Date getDatecreate() {
		return datecreate;
	}


	public void setDatecreate(Date datecreate) {
		this.datecreate = datecreate;
	}




	public String getDisplayName() {
		return displayName;
	}




	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}




	public String getNickName() {
		return nickName;
	}




	public void setNickName(String nickName) {
		this.nickName = nickName;
	}






	public String getPhoto() {
		return photo;
	}




	public void setPhoto(String photo) {
		this.photo = photo;
	}





	public String getCompanyName() {
		return companyName;
	}




	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}




	public String getTitle() {
		return title;
	}




	public void setTitle(String title) {
		this.title = title;
	}




	public String getContactId() {
		return contactId;
	}




	public void setContactId(String contactId) {
		this.contactId = contactId;
	}




	public String getDeviceId() {
		return deviceId;
	}




	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}




	public TypeEnum getType() {
		return type;
	}




	public void setType(TypeEnum type) {
		this.type = type;
	}



	public List<EmailDTO> getEmailDTOs() {
		return emailDTOs;
	}




	public void setEmailDTOs(List<EmailDTO> emailDTOs) {
		this.emailDTOs = emailDTOs;
	}




	public List<NumberDTO> getNumberDTOs() {
		
		return numberDTOs;
	}




	public void setNumberDTOs(List<NumberDTO> numberDTOs) {
		this.numberDTOs = numberDTOs;
	}




	public List<SocialContactDTO> getSocialContactDTOs() {
		return socialContactDTOs;
	}




	public void setSocialContactDTOs(List<SocialContactDTO> socialContactDTOs) {
		this.socialContactDTOs = socialContactDTOs;
	}


	
	
	

}
